package org.example.myleet.p954;

import org.example.myleet.Utils.Assert;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue(solution.canReorderDoubled(new int[]{4,-2,2,-4}));
        Assert.isTrue(solution.canReorderDoubled(new int[]{-6,-3}));
        Assert.isTrue(!solution.canReorderDoubled(new int[]{-33,0}));
        Assert.isTrue(!solution.canReorderDoubled(new int[]{3,1,3,6}));
        Assert.isTrue(!solution.canReorderDoubled(new int[]{2,1,2,6}));
        Assert.isTrue(solution.canReorderDoubled(new int[]{-1,4,6,8,-4,6,-6,3,-2,3,-3,-8}));
    }
}
